package Base.ModifierTest;

public class Order {
    private int orderPrivate;
    int orderDefault;
    protected  int orderProtected;
    public int orderPublic;

    private void  methodPrivate(){
        orderDefault= 1;
        orderPrivate=1;
        orderProtected=1;
        orderPublic=1;
    }

    void methodDefault(){
        orderDefault= 2;
        orderPrivate=2;
        orderProtected=2;
        orderPublic=2;
    }

    protected void methodProtected(){
        orderDefault= 3;
        orderPrivate=3;
        orderProtected=3;
        orderPublic=3;
    }

    public void methodPublic(){
        orderDefault= 4;
        orderPrivate=4;
        orderProtected=4;
        orderPublic=4;
    }

}
